package com.warehouse.service;

import com.warehouse.dto.PageResult;
import com.warehouse.entity.Warehouse;

import java.util.List;

public interface Wareservice {
    PageResult<Warehouse> findAllWarehouse(Integer currentpage, Integer pageSize);

    boolean addWarehouse(Warehouse warehouse);

    boolean editWarehouse(Warehouse warehouse);

    boolean delWarehouse(String id);

    List<Warehouse> findWarehouse(Warehouse warehouse);
}
